-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
normalize-by-median.py --force default should be 'true' #745
Comments
On Wed, Jan 28, 2015 at 12:11:08PM -0800, Matt MacManes wrote:
Definitely a bug. thx! --titus |
I think the fix is to move this https://github.com/ged-lab/khmer/blob/master/scripts/normalize-by-median.py#L243 |
I will be working on this #745 . |
I'm -1 on having 'force' be a default - what's the point of it, then? :)
I would suggest moving the default to do what's right, but
you'll have to confer with @mr-c about whether or not that breaks semantic
versioning.
|
I would call this a bug and that the fix would not break semantic versioning. I will prominently advertise the change in behaviour upon release. |
This function does not make sense for me: |
Yes, that all seems correct to me - what do you disagree with? |
Fix the append behavior in normalize-by-median.py (#745)
In messing around with
normalize-by-median.py
, I realized that if I killed a run while it was running, then issued a new command using the same output filename, that the product of the new command was appended to the results of the first command. I don't think this is ever when the user wants - a set of reads will be duplicated in the normalized output file.. I think that the output should always be overwritten--force TRUE
with or without a warning that the file is being overwritten..My 2cents
The text was updated successfully, but these errors were encountered: