din14970 / pyMatchSeries

a python wrapper for matchSeries
GNU General Public License v3.0
13 stars 9 forks source link

A Error when running "calculation" #9

Closed PhysXu closed 1 year ago

PhysXu commented 1 year ago

Hi, I met a problem when running the "calculation", please see below: image

The operating system of my computer is 'Windows 10 Pro Education (64-bit)' and regional format is 'English (United States)'. I do not know what would cause this problem above. Any reply will be appreciated very much.

din14970 commented 1 year ago

path is set automatically on calling the constructor.

calculation = MatchSeries(data[5])

It is an absolute path to a directory which is already prepopulated with things like a default config file. If you change the path variable, obviously nothing is there and it won't work. If you want to set the path, you must set it when you create a new MatchSeries calculation.

calculation = MatchSeries(data[5], path=...)
PhysXu commented 1 year ago

path is set automatically on calling the constructor.

calculation = MatchSeries(data[5])

It is an absolute path to a directory which is already prepopulated with things like a default config file. If you change the path variable, obviously nothing is there and it won't work. If you want to set the path, you must set it when you create a new MatchSeries calculation.

calculation = MatchSeries(data[5], path=...)

Thanks very much for your reply. It works.