Skip to content

Error with matching_distance function in iPython example #4

@miladkiaee

Description

@miladkiaee

Do you know what might have caused the following error when I try to replicate what is shown in your ipython example with the matching_distance function? I managed to get the same results on all other parts of the notebook. I am using Linux and a Python 3.7 under Conda environment. Thanks!

Error in file /tmp/tmpahk85_rb/self.txt, line number 15: cannot parse "--"
ERROR:root:Failure in invocation of Hera, input files copied to error-hera-yellow-31885-1553538069.0262306 for reference
Traceback (most recent call last):
  File "/home/milad/anaconda3/envs/myenvpy37/lib/python3.7/site-packages/pyrivet/hera.py", line 86, in multi_bottleneck_distance
    ["bottleneck_dist", t1_name, t2_name, str(relative_error)])
  File "/home/milad/anaconda3/envs/myenvpy37/lib/python3.7/subprocess.py", line 395, in check_output
    **kwargs).stdout
  File "/home/milad/anaconda3/envs/myenvpy37/lib/python3.7/subprocess.py", line 487, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bottleneck_dist', '/tmp/tmpahk85_rb/self.txt', '/tmp/tmpahk85_rb/other.txt', '1e-10']' returned non-zero exit status 1.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/milad/anaconda3/envs/myenvpy37/lib/python3.7/site-packages/pyrivet/matching_distance.py", line 99, in matching_distance
    [bars for (_, bars) in multi_bars2]
  File "/home/milad/anaconda3/envs/myenvpy37/lib/python3.7/site-packages/pyrivet/hera.py", line 86, in multi_bottleneck_distance
    ["bottleneck_dist", t1_name, t2_name, str(relative_error)])
  File "/home/milad/anaconda3/envs/myenvpy37/lib/python3.7/subprocess.py", line 395, in check_output
    **kwargs).stdout
  File "/home/milad/anaconda3/envs/myenvpy37/lib/python3.7/subprocess.py", line 487, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bottleneck_dist', '/tmp/tmpahk85_rb/self.txt', '/tmp/tmpahk85_rb/other.txt', '1e-10']' returned non-zero exit status 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions