DTOcean / dtocean

Design and techno-economic assessment of marine renewable energy arrays
https://dtocean.github.io
GNU General Public License v3.0
4 stars 6 forks source link

Installation module: A ValueError occurred: labels ['layer 2 start' 'layer 2 type'] not contained in axis #20

Closed H0R5E closed 7 years ago

H0R5E commented 7 years ago
2017-03-28 13:20:20,910 - CRITICAL - dtocean_app.main - A ValueError occurred: labels ['layer 2 start' 'layer 2 type'] not contained in axis
2017-03-28 13:20:20,918 - CRITICAL - dtocean_app.main -   File "C:\Anaconda\envs\_dtocean_stable\lib\site-packages\dtocean_app\main.py", line 250, in run
    self._project)
  File "C:\Anaconda\envs\_dtocean_stable\lib\site-packages\dtocean_core\strategies\basic.py", line 63, in execute
    allow_unavailable=True)
  File "C:\Anaconda\envs\_dtocean_stable\lib\site-packages\dtocean_core\menu.py", line 457, in execute_current
    allow_unavailable=allow_unavailable)
  File "C:\Anaconda\envs\_dtocean_stable\lib\site-packages\dtocean_core\menu.py", line 168, in _execute
    allow_unavailable=allow_unavailable)
  File "C:\Anaconda\envs\_dtocean_stable\lib\site-packages\dtocean_core\core.py", line 1769, in execute_interface
    interface = core.connect_interface(project, interface)
  File "C:\Anaconda\envs\_dtocean_stable\lib\site-packages\dtocean_app\core.py", line 267, in connect_interface
    interface = super(GUICore, self).connect_interface(project, interface)
  File "C:\Anaconda\envs\_dtocean_stable\lib\site-packages\dtocean_core\core.py", line 1244, in connect_interface
    interface.connect()
  File "C:\Anaconda\envs\_dtocean_stable\lib\site-packages\dtocean_core\interfaces\installation.py", line 603, in connect
    zone)
  File "C:\Anaconda\envs\_dtocean_stable\lib\site-packages\dtocean_core\interfaces\installation.py", line 1914, in get_input_dict
    site_df.drop(layer_remove)
  File "C:\Anaconda\envs\_dtocean_stable\lib\site-packages\pandas\core\generic.py", line 1877, in drop
    new_axis = axis.drop(labels, errors=errors)
  File "C:\Anaconda\envs\_dtocean_stable\lib\site-packages\pandas\indexes\base.py", line 3051, in drop
    labels[mask])
H0R5E commented 7 years ago

Solved by DTOcean/dtocean-core#35