Dear @DanielAsarnow,
I moved the post from github to here since more people might see it. Although I never solved the issue fully, I did make the symbolic link as suggested at the bottom of the installation wiki. So now the environment seem to be reading in correctly and csparc2star works on its own without any inputs. The issue was related to reading in the correct python.
However I am still getting an error:
(pyem) [omid@c105445 Sort1]$ /data/CRYOSPARC/pyem/csparc2star.py --copy-micrograph-coordinates /data/XXX/movies_raw/Sep06_collect/Extract/job041/particles.star /data/CRYOSPARC/USERS/Omid/P1/J154/particles_selected.cs from_cryosparc.star --loglevel debug
Detected CryoSPARC 2+ .cs file
Reading primary file
Classification parameters not found
Directly copied fields: ucsfImagePath, rlnDetectorPixelSize, ucsfImageIndex, ucsfUid, rlnMagnification
Defocus values not found
Traceback (most recent call last):
File “/data/CRYOSPARC/pyem/csparc2star.py”, line 106, in
sys.exit(main(parser.parse_args()))
File “/data/CRYOSPARC/pyem/csparc2star.py”, line 62, in main
glob(args.copy_micrograph_coordinates)), join=“inner”)
File “/data/CRYOSPARC/miniconda2/envs/pyem/lib/python3.7/site-packages/pandas/core/reshape/concat.py”, line 255, in concat
sort=sort,
File “/data/CRYOSPARC/miniconda2/envs/pyem/lib/python3.7/site-packages/pandas/core/reshape/concat.py”, line 301, in init
objs = list(objs)
File “/data/CRYOSPARC/pyem/csparc2star.py”, line 61, in
(star.parse_star(inp, keep_index=False, augment=True) for inp in
File “/data/CRYOSPARC/pyem/pyem/star.py”, line 282, in parse_star
df = pd.read_csv(starfile, skiprows=ln, delimiter=’\s+’, header=None, nrows=nrows)
File “/data/CRYOSPARC/miniconda2/envs/pyem/lib/python3.7/site-packages/pandas/io/parsers.py”, line 685, in parser_f
return _read(filepath_or_buffer, kwds)
File “/data/CRYOSPARC/miniconda2/envs/pyem/lib/python3.7/site-packages/pandas/io/parsers.py”, line 463, in _read
data = parser.read(nrows)
File “/data/CRYOSPARC/miniconda2/envs/pyem/lib/python3.7/site-packages/pandas/io/parsers.py”, line 1154, in read
ret = self._engine.read(nrows)
File “/data/CRYOSPARC/miniconda2/envs/pyem/lib/python3.7/site-packages/pandas/io/parsers.py”, line 2059, in read
data = self._reader.read(nrows)
File “pandas/_libs/parsers.pyx”, line 881, in pandas._libs.parsers.TextReader.read
File “pandas/_libs/parsers.pyx”, line 896, in pandas._libs.parsers.TextReader._read_low_memory
File “pandas/_libs/parsers.pyx”, line 950, in pandas._libs.parsers.TextReader._read_rows
File “pandas/_libs/parsers.pyx”, line 937, in pandas._libs.parsers.TextReader._tokenize_rows
File “pandas/_libs/parsers.pyx”, line 2132, in pandas._libs.parsers.raise_parser_error
pandas.errors.ParserError: Error tokenizing data. C error: Expected 10 fields in line 41, saw 16