rbeyer / kalasiris

A Python library to wrap functions and functionality for the Integrated Software for Imagers and Spectrometers (ISIS).
https://kalasiris.readthedocs.io
BSD 3-Clause "New" or "Revised" License
9 stars 5 forks source link

Small typo and grammar fix #13

Closed michaelaye closed 1 year ago

michaelaye commented 1 year ago

You might also have a look at line 86: unless I'm missing it, gui__ isn't described as what it is? A string with a parameter setting? A dict?

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Types of changes

Checklist:

Licensing:

This project is released under the LICENSE.

rbeyer commented 1 year ago

Hmm, yes line 86 isn't right. I don't have time to test deeply right now, but I think this will correct it and allow the line to run as described:

isis.hist('some.cub', 'gui__', min_=5)

However, that's not great logic, as it brings the parameter naming (with trailing underbars) into the values of the argument list. Maybe the pattern should be:

isis.hist('some.cub', '-gui', min_=5)

So it echoes the command line syntax for these options? I'm going to have to think about this some more. Thank you.

rbeyer commented 1 year ago

I thought about it more, and have included the additional way to specify parameters in PR #14. If you could make the change to the line you're already altering above, I'd be happy to approve this PR, thank you.

rbeyer commented 1 year ago

That typo is my own, and I'll take care of it in PR #14.