mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-20 15:38:08 +02:00
[plotting_tests] failed, because of same name?
This commit is contained in:
parent
8f194652a7
commit
0c11ba0bf8
43 changed files with 8 additions and 4 deletions
5
setup.py
5
setup.py
|
|
@ -49,7 +49,10 @@ def read_to_rst(fname):
|
|||
try:
|
||||
import pypandoc
|
||||
rstname = "{}.{}".format(os.path.splitext(fname)[0], 'rst')
|
||||
return pypandoc.convert(read(fname), 'rst', format='md')
|
||||
rststr = pypandoc.convert(read(fname), 'rst', format='md')
|
||||
with open(rstname, 'w') as f:
|
||||
f.write(rststr)
|
||||
return rststr
|
||||
#return read(rstname)
|
||||
except ImportError:
|
||||
return read(fname)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue