Skip to content

Commit

Permalink
fix: upgrade code to new pandas version
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Schubach committed Oct 25, 2023
1 parent b8c5666 commit aaea236
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/sbatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ assigned_counts_createAssignmentPickleFile:
assigned_counts_filterAssignment:
time: "0-01:00"
queue: "medium"
mem: 10G
mem: 15G

#################
### Statistic ###
Expand Down
2 changes: 1 addition & 1 deletion workflow/scripts/count/nucleotideCountPerPosition.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def cli(input_file, column, use_header, output_file, chunksize):

nucleotides = df["DNA"].apply(lambda x: pd.Series(list(x)))

for i, columns in nucleotides.iteritems():
for i, columns in nucleotides.items():
counts_column = "Position_%d_counts" % (i+1)
ratio_column = "Position_%d_ratio" % (i+1)
if counts_column not in output.columns:
Expand Down

0 comments on commit aaea236

Please sign in to comment.