Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Mar 23 13:37
    geonux commented #399
  • Mar 20 15:40
    milosdanilov commented #399
  • Mar 20 09:02
    geonux commented #399
  • Mar 20 09:00
    geonux commented #399
  • Mar 19 16:18
    marijanlekic commented #448
  • Mar 19 16:14
    wcc526 commented #448
  • Mar 19 16:12
    wcc526 commented #448
  • Mar 19 16:04
    marijanlekic commented #448
  • Mar 19 15:54
    wcc526 commented #448
  • Mar 19 15:51
    marijanlekic commented #448
  • Mar 19 15:33
    wcc526 commented #448
  • Mar 19 15:31
    wcc526 commented #433
  • Mar 19 15:30
    marijanlekic commented #448
  • Mar 19 15:23
    wcc526 commented #433
  • Mar 19 14:32
    wcc526 edited #448
  • Mar 19 14:03
    wcc526 opened #448
  • Mar 18 14:09
    kaushik-work labeled #447
  • Mar 18 14:09
    kaushik-work closed #447
  • Mar 18 14:09
    kaushik-work commented #447
  • Mar 18 14:01
    wcc526 opened #447
ksarathbabu
@ksarathbabu
I downloaded and tried installed both 1.0.1 and 1.0.2 versions in my Mac. Both goes through the installation correctly. When I try to open the app, I get the msg "“rabix-composer” is an app downloaded from the Internet. Are you sure you want to open it?" when I give open , nothing happens. Is it becoz of any permission issue or dependency issue?
Kaushik Ghose
@kaushik-work
Hi @ksarathbabu , sorry you are having this problem. The latest releases should be digitally signed. Which macOS version are you on?
ksarathbabu
@ksarathbabu
@kaushik-work I am using Mac Majove 10.14.6
Andrey Kartashov
@portah
@kaushik-work is rabix signed?
Kaushik Ghose
@kaushik-work
@portah yes, the distributions should be.
Andrey Kartashov
@portah
Then shouldn’t be that problem with certification
ksarathbabu
@ksarathbabu
Is there a different way to install rabix in Mac?
I tried the command line yarn and I get error while running the run serve command.
chi-chi weng
@wcc526

Does composer support web?
I want to server the composer on the server as web app.

How to complie and deploy

Thank you!

Kaushik Ghose
@kaushik-work
Hi @wcc526 the code as packed in this repository does not. It is a standalone desktop App. However, it has been adapted for web use by users.
chi-chi weng
@wcc526
But If I want to deploy on the server as web service,
What could I do?
Could I repacked the repository ?
Peter Amstutz
@tetron
@wcc526 it ties in with electron and seven bridges platform so you have to also replace those components in order to host it on the web, we did it here https://github.com/arvados/composer
but it is a lot of work
although less work than writing a new editor from scratch
chi-chi weng
@wcc526
Thank you!
It helps a lot
There is dockerfile for the composer web service?
It would be more convernient for host it on the web
Andrey Kartashov
@portah
It might be. The idea behind composer to enable researchers assemble workflow, usually on a computer they use for work
Peter Amstutz
@tetron
the code that I linked is integrated with Arvados. it is a web app but it is not standalone either. there is a docker build of Arvados that includes composer https://doc.arvados.org/v2.0/install/arvbox.html
Andrey Kartashov
@portah
Web means you probably would like to have workflows on a server
For that reason, you can probably have NX to the server
chi-chi weng
@wcc526
em,My purpose is integrated with StackStorm https://docs.stackstorm.com/overview.html
StackStorm workflow editor is commercial.
Peter Amstutz
@tetron
StackStorm runs CWL?
why did that turn into a highlighted box
(silly gitter)
chi-chi weng
@wcc526
My plan is transfer CWL between St2 yaml
Peter Amstutz
@tetron
I see
chi-chi weng
@wcc526

ersion: 1.0

description: Calculates (a + b) * (c + d)

input:

  • a: 0 # Defaults to value of 0 if input is not provided.
  • b: 0
  • c: 0
  • d: 0

tasks:
task1:

# Fully qualified name (pack.name) for the action.
action: math.add

# Assign input arguments to the action from the context.
input:
  operand1: <% ctx(a) %>
  operand2: <% ctx(b) %>

# Specify what to run next after the task is completed.
next:
  - # Specify the condition in YAQL or Jinja that is required
    # for this task to transition to the next set of tasks.
    when: <% succeeded() %>

    # Publish variables on task transition. This allows for
    # variables to be published based on the task state and
    # its result.
    publish:
      - msg: task1 done
      - ab: <% result() %>

    # List the tasks to run next. Each task will be invoked
    # sequentially. If more than one tasks transition to the
    # same task and a join is specified at the subsequent
    # task (i.e task1 and task2 transition to task3 in this
    # case), then the subsequent task becomes a barrier and
    # will be invoked when condition of prior tasks are met.
    do:
      - log
      - task3

task2:

# Short hand is supported for input arguments. Arguments can be
# delimited either by space, comma, or semicolon.
action: math.add operand1=<% ctx("c") %> operand2=<% ctx("d") %>
next:
  - when: <% succeeded() %>

    # Short hand is supported for publishing variables. Variables
    # can be delimited either by space, comma, or semicolon.
    publish: msg="task2 done", cd=<% result() %>

    # Short hand with comma delimited list is supported.
    do: log, task3

task3:

# Join is specified for this task. This task will be invoked
# when the condition of all inbound task transitions are met.
join: all
action: math.multiple operand1=<% ctx('ab') %> operand2=<% ctx('cd') %>
next:
  - when: <% succeeded() %>
    publish: msg="task3 done" abcd=<% result() %>
    do: log

Define a reusable task to log progress. Although this task is

referenced by multiple tasks, since there is no join defined,

this task is not a barrier and will be invoked separately.

log:
action: core.log message=<% ctx(msg) %>

output:

  • result: <% ctx().abcd %>
sorry,the code is not formated.
chi-chi weng
@wcc526
@tetron where is the composer code in the https://github.com/arvados/arvados.git?
How do you deploy and update composer code with dockerfile?
chi-chi weng
@wcc526
TypeError: write() argument must be str, not bytes while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/root/.nvm/versions/node/v10.19.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 4.4.0-173-generic
gyp ERR! command "/root/.nvm/versions/node/v10.19.0/bin/node" "/root/.nvm/versions/node/v10.19.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /root/composer/electron/node_modules/keytar
gyp ERR! node -v v10.19.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Andrey Kartashov
@portah
@wcc526 I believe there is no stand alone solution to run rabix composer in web
so if the idea to integrate you either tearing apart original rabix composer (easier to get cwl-svg package and add some code from rabix) or organize your work with what already exist like sharing directories or just converting CWLs to stackstorm
chi-chi weng
@wcc526
Could rabix/composer run on MacOS ?
git clone https://github.com/rabix/composer
cd composer
yarn install
yarn run serve // starts the dev server
yarn run compile:electron // compiles electron backend
yarn run start:electron // opens the app shell
I run these command on MacOS ,but there is only blank page.
chi-chi weng
@wcc526
Module build failed: Error: Cannot find module 'node-sass'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
Michael R. Crusoe
@mr-c
@wcc526 There is a dmg for macOS at https://github.com/rabix/composer/releases
@wcc526 Great to hear that you want to work on StackStorm & CWL! Please let me know how I can help mrc@commonwl.org ; note, I can't provide help with the Rabix Composer itself, alas
chi-chi weng
@wcc526
@mr-c now I'm trying to workon on StackStorm & WALKOFF. The WLAKOFF has a basic web ui.
Michael R. Crusoe
@mr-c
@wcc526 Cool, I hadn't seen that one before. The interface reminds me of Galaxy