mountainsort_examples icon indicating copy to clipboard operation
mountainsort_examples copied to clipboard

Pipeline init error

Open holmescharles opened this issue 5 years ago • 0 comments

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?

holmescharles avatar Dec 12 '19 21:12 holmescharles