Skip to content

Commit

Permalink
[ADD] explicitly define lineterminator
Browse files Browse the repository at this point in the history
  • Loading branch information
jcorreia11 committed Jun 28, 2024
1 parent bd01677 commit 1a5e8ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/biocatalyzer/bioreactor.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ def process_results(self, save: bool = True, overwrite: bool = True):
Tuple[pd.DataFrame, str]
The processed results and the path to the results file.
"""
results = pd.read_csv(self._new_compounds_path, sep='\t', header=0)
results = pd.read_csv(self._new_compounds_path, sep='\t', header=0, lineterminator='\n')
results.EC_Numbers = results.EC_Numbers.fillna('')
results = results.groupby(['OriginalCompoundID', 'NewCompoundSmiles']).agg({'OriginalCompoundSmiles': 'first',
'OriginalReactionRuleID': ';'.join,
Expand Down

0 comments on commit 1a5e8ce

Please sign in to comment.