Code Monkey home page Code Monkey logo

xpipe's Issues

adding notes to the flags for xshear_metacal.py

--runall # if not set, only the main file
# if set, runs the other metacal files (1p,1m,2p,2m), totally 5 times
--head # uses only random subset of source catalog
--nopairs # does not log source-lens pairs
--noclust # skip clusters
--norands # skip randoms
--params PARAMS # forces to use config file at path PARAMS
--metachunk METACHUNK # reruns the i-th (out of 5) metacal versions
--nchunk NCHUNK
--ichunk ICHUNK

KeyError in mkbins.py

From Maria Elidaiana da S. Pereira

`Traceback (most recent call last):
File "mkbins.py", line 22, in
randoms = parbins.prepare_random()
File "/home/s1/mariaeli/mylibs/xpipe/xpipe/xhandle/parbins.py", line 568, in prepare_random
data, fullcat = load_randcat(params, fullpaths)
File "/home/s1/mariaeli/mylibs/xpipe/xpipe/xhandle/parbins.py", line 366, in load_randcat
qlist[:, ival] = randcat[randkey[colname]]
KeyError: 'q2'

edit the file /xpipe/xpipe/xhandle/parbins.py by changing the line "nq = len(randkey.keys()) - 3" to "nq = len(randkey.keys()) - 4"`

paths rotate_shear.py

  1. python rotate_shear.py --wconfig crashes with error:
    main_xconfig_fname = paths.fullpaths["xconfig"]
    KeyError: 'xconfig'

  2. python rotate_shear.py crashes at:
    with open(paths.fullpaths['flist']) as file:
    flist = file.read().splitlines()

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.