Giter Site home page Giter Site logo

Error about clinehelpr HOT 9 CLOSED

btmartin721 avatar btmartin721 commented on June 21, 2024
Error

from clinehelpr.

Comments (9)

btmartin721 avatar btmartin721 commented on June 21, 2024

Hi. it's hard to tell here, but for some reason it isn't finding the input files. Are you sure that you provided the correct path to the input directory?

Are you using Windows? If so, you might need the drive name, such as "C:", placed before "/Users". But it depends on your operating system and computer setup.

Could you try running this R command?

getwd()

just before combine_bgc_output() and show me what it prints out? And also could you try running:

dir()

in R and show me what it prints out? That will show the directories that are present in your current working directory.

from clinehelpr.

glaudelrio avatar glaudelrio commented on June 21, 2024

Hi! Thank you so much! I am working in the results directory just in case.
Screen Shot 2022-05-02 at 5 07 05 PM
as you can see in the image, my files are in the results directory.
Thank you!

from clinehelpr.

btmartin721 avatar btmartin721 commented on June 21, 2024

Ah ok I think I see the issue. It is not finding your LnL files because in your results directory they are labeled

ln1 and not lnl

So in other words, with a one and not an L.

This is actually a bug in ClineHelpR that I've been meaning to fix. In the meantime, could you try renaming eatt_stat_ln1_[replicate] to eatt_stat_lnl_[replicate]?

Let me know if this fixes the issue.

-Bradley

from clinehelpr.

btmartin721 avatar btmartin721 commented on June 21, 2024

I fixed the file naming issue in the run_bgc.sh script. Now it correctly names the lnl file as lnl instead of ln1 when running estpost. But in your case you can just rename the lnl file instead of rerunning the whole script.

from clinehelpr.

glaudelrio avatar glaudelrio commented on June 21, 2024

Sounds good! Does it mean that I need to start a new container for the new function to run?
Thank you!

from clinehelpr.

glaudelrio avatar glaudelrio commented on June 21, 2024

Changing the ln1 to lnl alone did not fix the problem. Thank you so much for the help and sorry for the inconvenience.

from clinehelpr.

btmartin721 avatar btmartin721 commented on June 21, 2024

Regarding the container, I will have to rebuild it in order to get run_bgc.sh to run, but I didn't change any of the R files so you shouldn't need a new container to get combine_bgc_output() to run.

Regarding the LnL file, I just realized that I made it to where it has to be capital L's like this:

prefix_LnL_[replicateNumber]

Could you try changing the L's to capital and let me know if it works?

Sorry for the confusion. I will change it to where it is not case sensitive anymore when I get home tonight.

-Bradley

from clinehelpr.

glaudelrio avatar glaudelrio commented on June 21, 2024

Hi Bradley, thank you so much! Changing it to capital letters solved the issue! Now the issue is in the run per se... my plot traces look like this:

image

any idea on what could be causing this?
Thank you so much!

from clinehelpr.

btmartin721 avatar btmartin721 commented on June 21, 2024

Hi. I apologize for my delayed reply. Glad you were able to get it to load.

I am not 100% sure why the likelihoods are all 0. Do they appear to be equal to or close to 0 in the LnL file generated by BGC? Just trying to determine if this is a BGC or ClineHelpR issue.

Thanks,

-Bradley

from clinehelpr.

Related Issues (17)

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.