choderalab / thermopyl

Tools for ThermoML parsing
GNU General Public License v2.0
19 stars 7 forks source link

Deprecation warning #23

Open jchodera opened 9 years ago

jchodera commented 9 years ago
Deprecated complexTypeDefinition method "content" invoked
Please use "orderedContent"
  File "/Users/jenkins-slave/workspace/choderalab-conda-release-osx/miniconda/envs/_test/bin/thermoml-build-pandas", line 9, in <module>
    load_entry_point('thermopyl==0.9', 'console_scripts', 'thermoml-build-pandas')()
  File "/Users/jenkins-slave/workspace/choderalab-conda-release-osx/miniconda/envs/_test/lib/python3.4/site-packages/thermopyl-0.9-py3.4.egg/thermopyl/scripts/parse_xml.py", line 40, in main
    current_data = parser.parse()
  File "/Users/jenkins-slave/workspace/choderalab-conda-release-osx/miniconda/envs/_test/lib/python3.4/site-packages/thermopyl-0.9-py3.4.egg/thermopyl/thermoml_lib.py", line 44, in parse
    ePropName = Property.Property_MethodID.PropertyGroup.content()[0].ePropName  # ASSUMING LENGTH 1

Deprecated complexTypeDefinition method "content" invoked
Please use "orderedContent"
  File "/Users/jenkins-slave/workspace/choderalab-conda-release-osx/miniconda/envs/_test/bin/thermoml-build-pandas", line 9, in <module>
    load_entry_point('thermopyl==0.9', 'console_scripts', 'thermoml-build-pandas')()
  File "/Users/jenkins-slave/workspace/choderalab-conda-release-osx/miniconda/envs/_test/lib/python3.4/site-packages/thermopyl-0.9-py3.4.egg/thermopyl/scripts/parse_xml.py", line 40, in main
    current_data = parser.parse()
  File "/Users/jenkins-slave/workspace/choderalab-conda-release-osx/miniconda/envs/_test/lib/python3.4/site-packages/thermopyl-0.9-py3.4.egg/thermopyl/thermoml_lib.py", line 59, in parse
    assert len(ConstraintType.content()) == 1
kyleabeauchamp commented 9 years ago

I don't think we need to worry about this too much. This is coming from pyxb and we've hard-pinned the version number in the requirements.

kyleabeauchamp commented 9 years ago

Just leave the issue open as a reminder for next time we upgrad pyxb and the XML template.