Clinical-Genomics / scout

VCF visualization interface
https://clinical-genomics.github.io/scout
BSD 3-Clause "New" or "Revised" License
147 stars 43 forks source link

When updating the OMIM panel with --force, update also the date #4670

Open northwestwitch opened 2 weeks ago

northwestwitch commented 2 weeks ago

Description of the issue:

If a month later you want to create a new OMIM panel using the same files, if you run the command with --force you end up in a new panel with the same date as the old panel. This is wrong, because if for instance you had a bug in gene panel loading you end up with 2 panels with different genes that seem created the same day but they're not ---> See for instance this example

dnil commented 2 weeks ago

Agreed. It kind of makes sense when downloading one day for verification, then performing the live update the next day, but the principle is questionable, and can be made to look silly if updating with really old files. One could add an option to control the behaviour, but I don't know that we need it that fine grained right now. Let's go with now() until we have a proper use case for reusing the file dates.