MoseleyBioinformaticsLab / MESSES

MESSES (Metadata from Experimental SpreadSheets Extraction System) is a Python package that facilitates the conversion of tabular data into other formats.
https://moseleybioinformaticslab.github.io/MESSES/
Other
0 stars 0 forks source link

Added silent to directives #26

Open ptth222 opened 1 year ago

ptth222 commented 1 year ago

I am going to create issues about some of the new features/changes I have added so far just to run them by you and discuss some particulars. I'll start with this one. I added the "silent" keyword to all directive types so users can decide directive by directive if they want to see warnings/errors about them. I felt this was necessary as it has become more likely that some non-required directives would print a lot of nuisance messages. Nested directives will inherit the silent state of the calling directive unless it is overwritten. The default is the silent state given through the CLI.

Any questions or comments?

hunter-moseley commented 1 year ago

Really like this feature. But I might add an override option from the CLI to print all messages.

Also, could add silent## levels that would offer more nuanced silencing. But this is likely not worth the benefit it might provide.

On Thu, Jun 22, 2023 at 6:18 PM ptth222 @.***> wrote:

I am going to create issues about some of the new features/changes I have added so far just to run them by you and discuss some particulars. I'll start with this one. I added the "silent" keyword to all directive types so users can decide directive by directive if they want to see warnings/errors about them. I felt this was necessary as it has become more likely that some non-required directives would print a lot of nuisance messages. Nested directives will inherit the silent state of the calling directive unless it is overwritten. The default is the silent state given through the CLI.

Any questions or comments?

— Reply to this email directly, view it on GitHub https://github.com/MoseleyBioinformaticsLab/MESSES/issues/26, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADEP7B2VJE3RXHXYVOBH3NTXMTACRANCNFSM6AAAAAAZQZ3BZY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Hunter Moseley, Ph.D. -- Univ. of Kentucky Professor, Dept. of Molec. & Cell. Biochemistry / Markey Cancer Center / Institute for Biomedical Informatics / UK Superfund Research Center Not just a scientist, but a fencer as well. My foil is sharp, but my mind sharper still.

Email: @. (work) @. (personal) Phone: 859-218-2964 (office) 859-218-2965 (lab) 859-257-7715 (fax) Web: http://bioinformatics.cesb.uky.edu/ Address: CC434 Roach Building, 800 Rose Street, Lexington, KY 40536-0093