A high performance Protein Databank parser written in Zig.
0

Configure Feed

Select the types of activity you want to include in your feed.

feat: prepare of zig 0.12 release

Ethan Holz (Apr 20, 2024, 2:51 PM -0500) 580ff366 93c77e1d

+17 -17
+12 -12
flake.lock
··· 21 21 "systems": "systems" 22 22 }, 23 23 "locked": { 24 - "lastModified": 1701680307, 25 - "narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=", 24 + "lastModified": 1710146030, 25 + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", 26 26 "owner": "numtide", 27 27 "repo": "flake-utils", 28 - "rev": "4022d587cbbfd70fe950c1e2083a02621806a725", 28 + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", 29 29 "type": "github" 30 30 }, 31 31 "original": { ··· 56 56 ] 57 57 }, 58 58 "locked": { 59 - "lastModified": 1703887061, 60 - "narHash": "sha256-gGPa9qWNc6eCXT/+Z5/zMkyYOuRZqeFZBDbopNZQkuY=", 59 + "lastModified": 1709087332, 60 + "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", 61 61 "owner": "hercules-ci", 62 62 "repo": "gitignore.nix", 63 - "rev": "43e1aa1308018f37118e34d3a9cb4f5e75dc11d5", 63 + "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", 64 64 "type": "github" 65 65 }, 66 66 "original": { ··· 71 71 }, 72 72 "nixpkgs": { 73 73 "locked": { 74 - "lastModified": 1704842529, 75 - "narHash": "sha256-OTeQA+F8d/Evad33JMfuXC89VMetQbsU4qcaePchGr4=", 74 + "lastModified": 1713596654, 75 + "narHash": "sha256-LJbHQQ5aX1LVth2ST+Kkse/DRzgxlVhTL1rxthvyhZc=", 76 76 "owner": "NixOS", 77 77 "repo": "nixpkgs", 78 - "rev": "eabe8d3eface69f5bb16c18f8662a702f50c20d5", 78 + "rev": "fd16bb6d3bcca96039b11aa52038fafeb6e4f4be", 79 79 "type": "github" 80 80 }, 81 81 "original": { ··· 117 117 ] 118 118 }, 119 119 "locked": { 120 - "lastModified": 1705040559, 121 - "narHash": "sha256-6SjLyxWAVMfVfkz2x/3IlAJBJ0ywus6Hr9JrBbT9zCk=", 120 + "lastModified": 1713572548, 121 + "narHash": "sha256-bYNsY9HwrV8+eJGRYvfLEP6/Sgf2Kr9qNbnB91OYMMM=", 122 122 "owner": "mitchellh", 123 123 "repo": "zig-overlay", 124 - "rev": "6022b38d2fd4e7504f1e8b6dcfccab9b655764a9", 124 + "rev": "76bccd85db6a182dfcbf8a5f4b540953f029a12c", 125 125 "type": "github" 126 126 }, 127 127 "original": {
+2 -2
src/fasta.zig
··· 19 19 } 20 20 if (strings.equals(arg, "-h")) { 21 21 std.debug.print("Usage: pdb2fasta -f <file> -o <output>\n", .{}); 22 - std.os.exit(0); 22 + std.posix.exit(0); 23 23 } 24 24 } 25 25 if (strings.equals(args.fileName, "")) { 26 26 std.debug.print("No file specified, please provide a file\n", .{}); 27 - std.os.exit(1); 27 + std.posix.exit(1); 28 28 } 29 29 return args; 30 30 }
+3 -3
src/main.zig
··· 37 37 if (strings.equals(arg, "--json")) args.json = true; 38 38 if (strings.equals(arg, "-h")) { 39 39 std.debug.print("Usage: exe -r <runs> -f <file> -o <output>\n", .{}); 40 - std.os.exit(0); 40 + std.posix.exit(0); 41 41 } 42 42 } 43 43 if (strings.equals(args.fileName, "")) { 44 44 std.debug.print("No file specified, please provide a file\n", .{}); 45 - std.os.exit(1); 45 + std.posix.exit(1); 46 46 } 47 47 return args; 48 48 } ··· 76 76 } else { 77 77 try writer.print("{}\n", .{pdb}); 78 78 } 79 - std.os.exit(0); 79 + std.posix.exit(0); 80 80 } 81 81 82 82 var timer = try std.time.Timer.start();