Skip to content
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

adding to the stats #1560

Open
wants to merge 1 commit into
base: release/112
Choose a base branch
from
Open

Conversation

dbolser
Copy link
Contributor

@dbolser dbolser commented Nov 20, 2023

if you pass options via --config my_config.ini, they don't show up in the stats, which can be a problem for debugging

if you pass options via , they don't show up in the stats, which can be a problem for debugging
@dbolser
Copy link
Contributor Author

dbolser commented Nov 20, 2023

I'm pushing this against release/112, but not really sure that's the right thing to do...

I've tested this on 110, and it's working fine for me.

@dglemos dglemos self-requested a review November 22, 2023 18:01
@dglemos dglemos self-assigned this Nov 22, 2023
@dglemos
Copy link
Contributor

dglemos commented Nov 22, 2023

Thanks for the update, @dbolser!
The reason why the tests are failing is this one: https://github.com/Ensembl/ensembl-vep/blob/release/112/t/Stats.t#L409-L423
In the test the expected output doesn't include the new 'Full command line options'. This test needs to be updated to reflect the new behaviour.
Can you also please change the base to postreleasefix/112?

@dbolser
Copy link
Contributor Author

dbolser commented Nov 23, 2023 via email

@dglemos
Copy link
Contributor

dglemos commented Nov 23, 2023

The branch is the latest postreleasefix which right now is postreleasefix/112.

@dbolser
Copy link
Contributor Author

dbolser commented Nov 27, 2023 via email

@dglemos dglemos removed their assignment Dec 20, 2023
@dglemos dglemos removed their request for review December 20, 2023 10:27
@nuno-agostinho nuno-agostinho self-assigned this Jan 5, 2024
@nuno-agostinho nuno-agostinho self-requested a review January 5, 2024 10:53
Comment on lines 647 to +648
['Command line options', '<pre>'.join(" ", @opts).'</pre>'],
['Full command line options', '<pre>'.$self->config->{_params}->{full_command}.'</pre>'],
Copy link
Contributor

@nuno-agostinho nuno-agostinho Jan 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @dbolser,

Thanks for your PR.

It depends on our internal release schedule, but usually any PR should be merged into the latest postreleasefix branch.

Regarding your changes, I think it would be better to simply replace the functionality of Command line options, so we return the same string as in the VCF output. What do you think?

Suggested change
['Command line options', '<pre>'.join(" ", @opts).'</pre>'],
['Full command line options', '<pre>'.$self->config->{_params}->{full_command}.'</pre>'],
['Command line options', '<pre>'.$self->config->{_params}->{full_command}.'</pre>'],

Let me know if you have any other questions. Thanks!

Best regards,
Nuno

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @dbolser, are you fine with me making the change that I suggested? Let me know, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants