Giter Site home page Giter Site logo

Comments (5)

transcript avatar transcript commented on July 17, 2024

Ah, it looks like time.clock() was removed in Python 3.8. I'll probably update these to time.time() instead; you could make the swap yourself if you don't want to wait for me to push the changes.

from samsa2.

transcript avatar transcript commented on July 17, 2024

Okay, see commit baa352c - time.clock() is now replaced by time.time(). I don't have Python 3.8 locally, but test this and reopen if there are still issues.

from samsa2.

ARW-UBT avatar ARW-UBT commented on July 17, 2024

I have changed time.clock to time.time also in lines 87, 98, 112, and 185 in addition to line 53. Restarted the master script again, but it seems that the entire analyses are repeated from the very beginning, although the checkpoints file existed in the input dir. I will see if this applies only to the trimmomatic step or to all other steps, too.
Unfortunately, the script failed after 7 days.
Are there other py scripts which should be edited for time.time?

from samsa2.

ARW-UBT avatar ARW-UBT commented on July 17, 2024

Sorry, I have overlooked that you did change this also in other scripts (#61). I assume the easiest way is to replace the local files with yours from python_scripts, right? Those modified a few hours ago.
Thanks for your help!

from samsa2.

transcript avatar transcript commented on July 17, 2024

Hi, yes, I went ahead and pushed a new commit with time.clock() replaced in all Python files. The easiest solution is to pull the new files and relaunch.

For the master_script.sh, you can always comment out the already-completed steps, or create an edited version of the file and delete the steps that have already been run. There is some limited step-checking, but especially if you are re-pulling the repo, it makes sense to manually cut the steps that have already been completed.

from samsa2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.