Skip to content

Commit

Permalink
Fix patch
Browse files Browse the repository at this point in the history
  • Loading branch information
apcamargo authored Dec 24, 2024
1 parent 79f3add commit 3f8a4cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion recipes/pdb2fasta/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ source:
build:
number: 0
run_exports:
- {{ pin_subpackage('pdb2fasta', max_pin="x") }}
- {{ pin_subpackage('pdb2fasta', max_pin="x.x") }}

requirements:
build:
Expand Down
6 changes: 3 additions & 3 deletions recipes/pdb2fasta/pdb2fasta.patch
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ index 9642d03..9e8eef1 100644
+#include<stdlib.h>
#include<stdio.h>
#include<string.h>

@@ -99,14 +100,24 @@ char *pdb2fasta(char *pdb_file){
}

int main(int argc, char** argv){
- if (argc<2){
- printf("pdb2fasta pdb.pdb > seq.fasta\n");
Expand All @@ -19,7 +19,7 @@ index 9642d03..9e8eef1 100644
+ printf(" Convert PDB file pdb.pdb to FASTA sequence file seq.fasta\n");
return argc;
}
-
-
- int i;
- for (i=1;i<argc;i++){
+
Expand Down

0 comments on commit 3f8a4cf

Please sign in to comment.