deepStats icon indicating copy to clipboard operation
deepStats copied to clipboard

`print_help` command is wrong

Open lukauskas opened this issue 3 years ago • 1 comments

In dsCompareCurves, in each line where it says:

print_help( opt_parser )

e.g. here

the line should probably say

parser$print_help()

At least in argparse v2.0.3

Simple Find > Replace fixes issue of print_help command not found upon inappropriate input.

lukauskas avatar Mar 01 '21 17:03 lukauskas

Thank you for the input, you are totally right. I didn't update it yet despite the new release of argparse.

In the meantime, installing a previous version of argparse should work.

Le lun. 1 mars 2021 à 18:27, Saulius Lukauskas [email protected] a écrit :

In dsCompareCurves, in each line where it says:

print_help( opt_parser )

e.g. here https://github.com/gtrichard/deepStats/blob/e3685a08db9d10bcb4f1b1742d77bbccfa4656cf/bin/dsCompareCurves#L97

the line should probably say

parser$print_help()

At least in argparse v2.0.3 https://www.rdocumentation.org/packages/argparse/versions/2.0.3/topics/ArgumentParser

Simple Find > Replace fixes issue of print_help command not found upon inappropriate input.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gtrichard/deepStats/issues/18, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGHARVMMNF3ONCXADJGDHE3TBPFBHANCNFSM4YM6PKHQ .

gtrichard avatar Mar 01 '21 19:03 gtrichard