Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 30 16:15
    coveralls commented #825
  • Aug 30 16:09
    wasade opened #825
  • Aug 30 15:29
    ElDeveloper commented #822
  • Aug 30 15:29

    ElDeveloper on master

    don't strip tabs from header (#… (compare)

  • Aug 30 15:29
    ElDeveloper closed #822
  • Aug 30 15:27

    ElDeveloper on master

    Issue 813 (#814) * Ensure eval… (compare)

  • Aug 30 15:27
    ElDeveloper closed #814
  • Aug 30 15:26
    coveralls commented #814
  • Aug 30 15:26
    ElDeveloper closed #481
  • Aug 30 15:21
    wasade synchronize #814
  • Aug 30 15:17
    ElDeveloper closed #685
  • Aug 30 15:17

    ElDeveloper on master

    WIP: Low hanging items (#824) … (compare)

  • Aug 30 15:17
    ElDeveloper closed #824
  • Aug 30 15:17
    ElDeveloper closed #378
  • Aug 28 16:26
    wasade closed #806
  • Aug 28 16:26
    wasade commented #806
  • Aug 28 16:25
    rhmills commented #806
  • Aug 28 08:26
    coveralls commented #822
  • Aug 28 08:22
    bernt-matthias commented #822
  • Aug 28 08:22
    bernt-matthias synchronize #822
Daniel McDonald
@wasade
@jairideout, is there a good way to associate that with a specific env? not seeing anyway to have env vars specific to environments without manually modifying activate
merged
Jai Ram Rideout
@jairideout
not sure, it'd be cool if conda had a postactivate hook for stuff like this
Greg Caporaso
@gregcaporaso
i’m gonna send a note to the dev lists in a minute with tweetable link and some notes
Jai Ram Rideout
@jairideout
biom is using click's bash autocomplete support, see here for more details: http://click.pocoo.org/5/bashcomplete/
Jai Ram Rideout
@jairideout
@gregcaporaso here's the link to Jenkins' progress: http://ci.qiime.org/job/QIIME/979/console
Daniel McDonald
@wasade
@jairideout, ya, just wish there were easy hooks in conda as dropping something into ~/.bash_profile won’t work
…well, you could hack it i suppose. bash doesn’t actually care if the executable is present, would just need to precompute the completion scripts
Yoshiki Vázquez Baeza
@ElDeveloper
Greg Caporaso
@gregcaporaso
wow. those are going to change the world. i do have to ask: why was that hard?
all went well with the jenkins test against the 2.1.5 release, so i think we can check this one off. thanks again for all of the work on this @jairideout, @ebolyen and @wasade! :beers:
Greg Caporaso
@gregcaporaso
i did this to get my auto complete to work in my conda env
seems to be working
Evan Bolyen
@ebolyen
:beers:
Daniel McDonald
@wasade
@gregcaporaso, the issue with the activation script is that you can’t just put it into ~/.bash_profile or ~/.bashrc unless it falls after source activate <your_env_that_contains_biom>
Greg Caporaso
@gregcaporaso
it seemed to work for me - i was surprised. maybe i did something wrong and it’s actually not working
Daniel McDonald
@wasade
did you do it prior to an activate?
or following?
Greg Caporaso
@gregcaporaso
no, it’s working, but i don’t understand how
Daniel McDonald
@wasade
i mean in your ~/.bash_profile or something
Greg Caporaso
@gregcaporaso
i put the line in bashrc, log out, log back in, activate my env, and tab completion works
Daniel McDonald
@wasade
very odd
Greg Caporaso
@gregcaporaso
and biom is not available outside of my env
i guess click is just magic?
Daniel McDonald
@wasade
I get: "-bash: biom: command not found"
if i do it outside of an env
can you open a new terminal, not activate an environment, and send the output from which biom?
Greg Caporaso
@gregcaporaso
no output
Daniel McDonald
@wasade
that’s total voodoo unless it caches somewhere, but that doesn’t appear to be the case from testing
weird
thanks
Greg Caporaso
@gregcaporaso
sounds like that’s what it’s doing, from the description at the link i sent
Daniel McDonald
@wasade
the command source foo calls foo as though it were a program
click intercepts the call with a hook
then generates the necessary COMP_WORDS blah blah
it cannot work if foo is not in the path
but if its working for you, then awesome :)
Greg Caporaso
@gregcaporaso
source biom is used to create the shell script in the env
Daniel McDonald
@wasade
the click codebase is elegant btw… it’s worth a traversal if you haven’t had a chance to read through any of it
Greg Caporaso
@gregcaporaso
you then run the shell script from outside the env
i have looked through parts, it’s really nice
Daniel McDonald
@wasade
ohhh, i see now
heh
bam, okay, got it working
had my blinders on and only saw the “Activation” section, not the “Activation script"
Daniel McDonald
@wasade
btw
we can make in rain rainbows
Jai Ram Rideout
@jairideout
interesting, thanks @gregcaporaso for finding that alternative way to generate the autocomplete script! and very cool re: ansi colors :)