Giter Club home page Giter Club logo

carriercapture.jl's Issues

Clarify installation instructions

The installation instructions are straightforward enough for anyone with prior experience using Julia, but could potentially confuse others. It would be worthwhile to clarify that the "Pkg.add" command should be executed (1) within the context of the Julia REPL and (2) after executing a "using Pkg" command. Once users reach this point, you can rely on your examples to help ease them into the language.

The question of install the carriercapture.jl

Now I have a problem about the installation of Carriercapture.jl code, the question as follow:
Exception calling "DownloadFile" with "2" argument(s): "An exception occurred during a WebClient request."
At C:\ps_script\testjava.ps1:41 char:31

  •       $client.DownloadFile <<<< ($source, $destination)
    
  • CategoryInfo : NotSpecified: (:) [], ParentContainsErrorRecordException
  • FullyQualifiedErrorId : DotNetMethodException + ERROR: Unable to automatically install 'LAME' from 'C:\Users\zhr.julia\packages\LAME_jll\UzJad\Artifacts.toml'
    I don't know what causes this problem, and how to solve it.

calc_capt_coeff! function error

During the execution of the script, I received an error message, and I am uncertain about its root cause. The error message I encountered is as follows:

"Julia> calc_overlap!(cc_e; cut_off = cut_off, σ = σ , Q₀ = 0)

Julia> calc_capt_coeff!(cc_e, Volume, temperature)

ERROR: AssertionError: occ(ϵ_max, T_max): 2.0207251001010498e-5 should be less than 1.0e-5
Stacktrace:
[1] calc_capt_coeff!(cc::conf_coord, V::Float64, temperature::StepRangeLen{Float64, Base.TwicePrecision{Float64}, Base.TwicePrecision{Float64}, Int64})
@ CarrierCapture C:\Users\9527.julia\packages\CarrierCapture\RaoWA\src\CaptureRate.jl:118
[2] top-level scope
@ REPL[173]:1"

Example notebooks are not clear

The example notebooks would be a lot more clear if you added some descriptions of what each section is trying to achieve. For someone with no familiarity of the code, I found it quite difficult to parse what each code block was doing. As the notebooks are the main tutorials for the bulk of the code, I think they should be made as clear as possible.

Each notebook should have some discussion at the top, maybe introducing the theory but definitely describing what the notebook will achieve. I would also add the date and version of CarrierCapture.jl used when the notebook was originally run, as this will make it clear when things go out of date.

You can see some excellent example notebooks in these repositories:

See openjournals/joss-reviews#2102

Unify "Usage" and "Typical Usage" documentation

The documentation includes a section on "Usage". In addition to this, there is a separate "Typical Usage" section in the example directory that goes into much more technical detail. As far as I can tell, there are no links to this information anywhere else in the documentation; I only see a link to the /example/notebook subdirectory, which makes this easy to miss. I recommend that you incorporate the information in /example/README.md more coherently into the documentation, either by linking to it prominently or by moving it elsewhere.

Command line scripts should have help strings

Help strings are very useful for checking what a command line program does without having to open the docs on the website. I.e., so you can type:

get_cc_struct.py -h

Currently, all the tools provided in CarrierCapture.jl/script/ do not have help strings. It would be nice to add them (even if they are only very short descriptions) to make it clear what the scripts do.

argparse makes this very easy. For example:

import argparse

parser = argparse.ArgumentParser(description='This is my help string.')

See https://docs.python.org/3.7/library/argparse.html#example for more information.

Part of openjournals/joss-reviews#2102

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.