You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I realized that the input variable drop_artifacts in the main() function of /combinato/tools/old_format_output (line 91) is not passed on as an actual argument:
Line 91: def main(fname_data, fname_sorting, sign, outfname, drop_artifacts=False)
effectively passing line 101 joined = man.get_groups_joined() with artifacts=True on every call.
A possible fix would be something of the sort:
if drop_artifacts:
joined = man.get_groups_joined(artifacts=False)
else:
joined = man.get_groups_joined(artifacts=True)
am I maybe missing something? What do you think?
Thanks!
Adrian.
The text was updated successfully, but these errors were encountered:
adriangutierrezg
changed the title
drop_artifacts in write-old-output.py not passed as input variable
drop_artifacts in old_format_output not passed as input variable
May 31, 2023
Dear Johannes,
I realized that the input variable drop_artifacts in the main() function of /combinato/tools/old_format_output (line 91) is not passed on as an actual argument:
Line 91:
def main(fname_data, fname_sorting, sign, outfname, drop_artifacts=False)
Line 101:
joined = man.get_groups_joined()
https://github.com/jniediek/combinato/blob/6973ca113300130c5e8e37830267df5043be03f5/tools/old_format_output.py#LL101C24-L101C24
effectively passing line 101
joined = man.get_groups_joined()
withartifacts=True
on every call.A possible fix would be something of the sort:
am I maybe missing something? What do you think?
Thanks!
Adrian.
The text was updated successfully, but these errors were encountered: