Giter VIP home page Giter VIP logo

Comments (6)

ceholden avatar ceholden commented on August 23, 2024

I forgot to include that module in the setup.py installer, so Python doesn't know it exists. Upgrading to yatsm>=0.5.5 should fix it

See this commit from the changelog.

from tstools.

valpasq avatar valpasq commented on August 23, 2024

I thought I was updated to v0.5.5. Just pulled the latest and installed again just in case. Also checked the setup.py installed and I do see the 'yatsm.phenology' module as shown in the changelog.

Still getting the error when I try to enable phenology in TSTools though.

Am I missing something?

from tstools.

ceholden avatar ceholden commented on August 23, 2024

I just checked your installation of TSTools on GEO and it looks like it's gone off the rails quite a bit. Your version (seen in the TSTools description page of the Plugins -> Manage and Install Plugins) is 0.99 while the current is 1.0.1.

The bit that tipped me off is that the line throwing the error in question is not correct relative to the current version and I've updated the relevant lines to utilize the __init__ and fit framework used in scikit-learn.

I checked your clone of TSTools in ~/Documents/TSTools on GEO. I'm not 100% sure what went wrong, but you have many many files that are untracked and you're somehow ahead of origin/master by 20 commits (check out git status). You also somehow have the latest commits and additions, like the DOI addition and the Vagrantfile additions.

Not 100% sure, but I believe the divergence might have been caused by me doing a general no no by force pushing after clearing all mentions of tstools.zip from within the repo history just prior to the 1.0.0 release. If so then nothing you did wrong! Sorry!

A git fetch origin; git reset --hard origin/master should clear things up for the repo (you could also just nuke the files and re-clone if that doesn't work). Remember to run the deploy script to have it install itself into the QGIS plugin directory.

from tstools.

ceholden avatar ceholden commented on August 23, 2024

FYI now that there are actual versions of the plugin you have two options if you want a guarantee of deploying something that I at least think is stable.

  1. Download the release, tstools.zip, from Github and install according to user instructions
  2. Keep using a cloned repo, but checkout a specific version by utilizing git tags.

from tstools.

valpasq avatar valpasq commented on August 23, 2024

Wow, thanks for figuring that out! It could have also been me who diverged somehow. I did do a git pull origin master recently and saw those latest commits. I'll start using the git checkout tags/ to make sure I'm properly on version.

The git fetch origin; git reset --hard origin/master did clear up the issue.
Plotting phenology without issue--so excited to finally look at the results interactively!

from tstools.

ceholden avatar ceholden commented on August 23, 2024

Great!

from tstools.

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.