Jong-hun-Park / trviz

A python library for decomposing and visualizing tandem repeat sequences
BSD 3-Clause "New" or "Revised" License
10 stars 0 forks source link

Apple M1 Support #6

Closed aob93 closed 11 months ago

aob93 commented 11 months ago

Hi, congrats on what looks like a really useful package. Installation is currently erroring out with "error: unknown target CPU 'apple-m1" I wonder if apple silicon support is something that could be added, or should I look into some kind of containerised workflow. Thanks!

Jong-hun-Park commented 11 months ago

Hi @aob93,

Thanks for submitting the issue.

The error is caused by to recent update for speeding up the decomposition algorithm. I will release a fixed version soon and let you know once it's ready.

Jong-hun-Park commented 11 months ago

Hi @aob93,

I've added a --no-cython flag for installation. Can you try installing trviz again from github?

Here are the directions you may want:

git clone https://github.com/Jong-hun-Park/trviz.git

cd trviz/

python setup.py install --no-cython
aob93 commented 11 months ago

Looks like it's working now. Many thanks!

Jong-hun-Park commented 11 months ago

Thanks for testing!