Because more folks are contributing to this, I'm making an effort to make the templating system I set up better and clearer.
Previously, I wrote code in header.py and footer.py files and copied these to create the library snirf/pysnirf2.py... this was a redundant and unclear design. Now, edits to the library file itself are valid AS LONG AS THEY DO NOT FALL WITHIN THE CENTRAL PORTION OF THE CODE. This section is still supposed to be generated from the jinja template.
This part of the code is clearly marked, and is largely implementations of the classes laid out above. Special cases are implemented via overrides below this part.
Because more folks are contributing to this, I'm making an effort to make the templating system I set up better and clearer.
Previously, I wrote code in header.py and footer.py files and copied these to create the library snirf/pysnirf2.py... this was a redundant and unclear design. Now, edits to the library file itself are valid AS LONG AS THEY DO NOT FALL WITHIN THE CENTRAL PORTION OF THE CODE. This section is still supposed to be generated from the jinja template.
This part of the code is clearly marked, and is largely implementations of the classes laid out above. Special cases are implemented via overrides below this part.
Also includes a quick fix to #38