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'm sorry I wrongly referenced this issue in my previous pull request. It should have been Issue #24 instead. But I'll work on this if it's still open.
To clarify, did you mean the following ? -
def _calc_stats(fn):
samples = _get_samples(fn)
.....
##use this filename 'fn' to add a new column to the dataframe, containing fn.
with open(fn) as inh:
for line in inh:
if line.startswith("#"):
.......
df = _summary(lines) ###HERE ADD NEW COLUMN TO THIS DF with name of file passed to function.
For that, it has to be implemented code at https://github.com/miRTop/mirtop/blob/dev/mirtop/gff/stats.py#L29.
As well, it has to be added one column to indicate the name of the file to be used. By default it should use the name of the file.
The text was updated successfully, but these errors were encountered: