Giter Club home page Giter Club logo

Comments (4)

rui4833 avatar rui4833 commented on August 11, 2024 1

Thank you so much~ The problem was solved!
My original code set idloc = 2, which end up with this error.

from ggir.

vincentvanhees avatar vincentvanhees commented on August 11, 2024

Hi, I cannot reproduce your error. Below I am including the script I have been using to test this functionality.

  1. Can you spot what you did differently?
  2. Are you trying to reprocess a previously processed dataset? If yes, what happens if you start in a new output folder reprocessing your files?
GGIR(mode = 1:6, 
     datadir = datadir, # defined before this call
     idloc = 1, # study specific
     outputdir = outputdir, # defined before this call
     do.report = c(2, 4, 5),
     do.parallel = TRUE,
     overwrite = TRUE,
     printsummary = TRUE,
     desiredtz = "America/Halifax",
     windowsizes = c(5, 60, 3600), # <= note, I use this to increase resolution of lux value
     #=====================
     # Part 2
     #=====================
     strategy = 1,
     hrs.del.start = 0, hrs.del.end = 0,
     maxdur = 100, includedaycrit = 16,
     excludefirstlast = FALSE,
     includenightcrit = 16,
     winhr = c(5,10),
     closedbout = FALSE,
     epochvalues2csv = TRUE,
     #=====================
     # Part 3 + 4
     #=====================
     outliers.only = TRUE,
     criterror = 0,
     do.visual = TRUE,
     #=====================
     # Part 5
     #=====================
     threshold.lig = c(30), threshold.mod = c(100), threshold.vig = c(400),
     boutcriter = 1,
     boutcriter.in = 1, boutcriter.lig = 1,  boutcriter.mvpa = 0.9,
     boutdur.in = c(1,10,30),
     boutdur.lig = c(1,10),
     boutdur.mvpa = c(1),
     
     save_ms5rawlevels = TRUE,
     save_ms5raw_format = "RData",
     save_ms5raw_without_invalid = FALSE,
     part5_agg2_60seconds = TRUE,
     frag.metrics = "all", 
    
     #=====================
     # Part 6
     #=====================
     part6HCA = TRUE,
     part6_threshold_combi = "30_100_400",
     #=====================
     # Visual report
     #=====================
     timewindow = c("WW"),
     visualreport = TRUE)

from ggir.

rui4833 avatar rui4833 commented on August 11, 2024

Yes, I was trying to reprocess a previously processed dataset which finished previous 5 parts. It still worked when I set overwrite=F.
I want to know whether the argument closedbout = FALSE was deprecated already?

from ggir.

vincentvanhees avatar vincentvanhees commented on August 11, 2024

I want to know whether the argument closedbout = FALSE was deprecated already?

Yes, it has been deprecated

from ggir.

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.