Skip to content
Permalink
Browse files

fix more broken numpydoc parsing that caused failed CI builds

  • Loading branch information...
sslivkoff committed May 9, 2019
1 parent fe7ba97 commit c2b08ab2f189459f9951e2c9b11b35217c861340
Showing with 0 additions and 18 deletions.
  1. +0 −10 cortex/database.py
  2. +0 −8 cortex/webgl/view.py
@@ -627,11 +627,6 @@ def save_view(self,vw,subject,name,is_overwrite=False):
-----
Equivalent to call to vw.save_view(subject,name)
For a list of the view parameters saved, see viewer._capture_view
See Also
--------
viewer methods save_view, get_view, _set_view, _capture_view
database method get_view
"""
view = vw._capture_view()
sName = os.path.join(self.filestore, subject, "views", name+'.json')
@@ -658,11 +653,6 @@ def get_view(self,vw,subject,name):
-----
Equivalent to call to vw.get_view(subject,name)
For a list of the view parameters saved, see viewer._capture_view
See Also
--------
viewer methods save_view, get_view, _set_view, _capture_view
database method save_view
"""
sName = os.path.join(self.filestore, subject, "views", name+'.json')
view = json.load(open(sName))
@@ -543,10 +543,6 @@ def save_view(self, subject, name, is_overwrite=False):
-----
Equivalent to call to cortex.db.save_view(subject, vw, name)
For a list of the view parameters saved, see viewer._capture_view
See Also
--------
viewer methods get_view, _set_view, _capture_view
"""
db.save_view(self, subject, name, is_overwrite)

@@ -567,10 +563,6 @@ def get_view(self, subject, name):
-----
Equivalent to call to cortex.db.get_view(subject, vw, name)
For a list of the view parameters set, see viewer._capture_view
See Also
--------
viewer methods save_view, _set_view, _capture_view
"""
view = db.get_view(self, subject, name)

0 comments on commit c2b08ab

Please sign in to comment.
You can’t perform that action at this time.