Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Pipeline init error #31

Open
holmescharles opened this issue Dec 12, 2019 · 0 comments
Open

Pipeline init error #31

holmescharles opened this issue Dec 12, 2019 · 0 comments

Comments

@holmescharles
Copy link

I'm trying to work with this project again, and am immediately hitting a block. I just installed everything via conda and cloned the "mountainsort_examples" repo to my computer. I am trying to run a python script to sort a toy data file. The code is written as this so far:

import os
import sys

sys.path.append('/PATH/TO/MOUNTAINSORT/EXAMPLES/CLONE/python')
from mountainlab_pytools import mlproc as mlp
import mountainsort4_1_0 as ms4

Pipeline = mlp.initPipeline()

For clarity, "/PATH/TO/MOUNTAINSORT/EXAMPLES/CLONE" is where I cloned the repo.

Anyways, if I run this (which should ONLY init the pipeline) I get the following error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/data/code/python/miniconda3-cdh/envs/mtsort/lib/python3.6/site-packages/mountainlab_pytools/mlproc/mlproc_impl.py", line 41, in initPipeline
    P.client().displayJobMonitor()
  File "/data/code/python/miniconda3-cdh/envs/mtsort/lib/python3.6/site-packages/mountainlab_pytools/mlproc/mlclient.py", line 42, in displayJobMonitor
    self._job_monitor.display()
  File "/data/code/python/miniconda3-cdh/envs/mtsort/lib/python3.6/site-packages/mountainlab_pytools/mlproc/mljobmonitor.py", line 12, in display
    display(self._W)
NameError: name 'display' is not defined

Can someone help me figure this out?

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

No branches or pull requests

1 participant