Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plotroute output file #49

Open
krainey0927 opened this issue Jul 12, 2022 · 0 comments
Open

plotroute output file #49

krainey0927 opened this issue Jul 12, 2022 · 0 comments

Comments

@krainey0927
Copy link


PermissionError Traceback (most recent call last)
in
----> 1 g_toyota = strymmap(toyota_gps_file)
2 g_honda = strymmap(honda_gps_file)

/opt/conda/lib/python3.8/site-packages/strym/strymmap.py in init(self, csvfile, **kwargs)
344 ))
345 fig.update_traces(marker=dict(size=6))
--> 346 fig.write_image(self.csvfile[0:-4] + '.png')
347 fig.write_html(self.csvfile[0:-4] + '.html')
348

/opt/conda/lib/python3.8/site-packages/plotly/basedatatypes.py in write_image(self, *args, **kwargs)
3556 import plotly.io as pio
3557
-> 3558 return pio.write_image(self, *args, **kwargs)
3559
3560 # Static helpers

/opt/conda/lib/python3.8/site-packages/plotly/io/_kaleido.py in write_image(fig, file, format, scale, width, height, validate, engine)
256 # ---------
257 if file_is_str:
--> 258 with open(file, "wb") as f:
259 f.write(img_data)
260 else:

PermissionError: [Errno 13] Permission denied: 'data/input/minitest01/2020-07-08-15-15-54_2T3MWRFVXLW056972_GPS_Messages.png'

I've been getting this error on cyverse. Can we make an option for plotroute to specify the output folder?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant