nyx-space / anise

ANISE provides a toolkit and files for Attitude, Navigation, Instrument, Spacecraft, and Ephemeris data. It's a modern replacement of the NAIF SPICE toolkit.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issues with absolute paths in MetaAlmanac on Windows

ChristopherRabotin opened this issue · comments

Bug report

Describe the bug

Specifying an absolute path in a Dhall file for MetaAlmanac of a Windows path will be interpreted as a remote URI, and there will be an attempt to download it. That's the wrong behavior.

To Reproduce

Steps to reproduce the behavior:

  1. In the Dhall file, specifying something like C:\\Users\Me\Blah.dhall
  2. Load that file in a MetaAlmanac and call the process() method
  3. See error

Expected behavior

The absolute path should be loaded as a local file instead.

Platform

Windows only.