You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While simulating a MeerKAT observation of a calibrator at a negative declination, simms claims that -dec did not receive the correct number of arguments. The same is true from the example command given in the readme i.e.
Traceback (most recent call last):
File "/usr/lib/python3.10/argparse.py", line 1878, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)
File "/usr/lib/python3.10/argparse.py", line 2091, in _parse_known_args
start_index = consume_optional(start_index)
File "/usr/lib/python3.10/argparse.py", line 2021, in consume_optional
arg_count = match_argument(action, selected_patterns)
File "/usr/lib/python3.10/argparse.py", line 2186, in _match_argument
raise ArgumentError(action, msg)
argparse.ArgumentError: argument -dec/--dec: expected one argument
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/jonathan/venvs/qcenv/bin/simms", line 8, in <module>
sys.exit(main())
File "/home/jonathan/venvs/qcenv/lib/python3.10/site-packages/simms/core.py", line 459, in main
args = parser.parse_args()
File "/usr/lib/python3.10/argparse.py", line 1845, in parse_args
args, argv = self.parse_known_args(args, namespace)
File "/usr/lib/python3.10/argparse.py", line 1881, in parse_known_args
self.error(str(err))
File "/home/jonathan/venvs/qcenv/lib/python3.10/site-packages/simms/core.py", line 37, in error
raise ParserError(message or "Not enough Arguments")
simms.core.ParserError: argument -dec/--dec: expected one argument
The text was updated successfully, but these errors were encountered:
The other workaround I should mention is to just use j2000 strings using the -dir argument. I don't think I'm going to bother fixing - will just leave this open so that it is documented. A worked example is:
While simulating a MeerKAT observation of a calibrator at a negative declination,
simms
claims that-dec
did not receive the correct number of arguments. The same is true from the example command given in the readme i.e.will fail with
The text was updated successfully, but these errors were encountered: