Commit 9e83e473 authored by McDonnell, Marshall's avatar McDonnell, Marshall
Browse files

Initial commit w/ soil modeling tools

parent 561e5aec
Loading
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
# Galaxy Tools

This is the repo for Galaxy tools that we create within the neutrons project. At the deployment stage, the tools from this repo will be added to Galaxy.
This is the repo for Galaxy tools that we create within the BESSD project.
At the deployment stage, the tools from this repo will be added to Galaxy.

## Project Structure

@@ -15,7 +16,7 @@ This is the repo for Galaxy tools that we create within the neutrons project. At
## Installing to Galaxy

### Copying files
 - copy `tools/neutrons` to a local tools folder. E.g. to a default location of Galaxy tools `$GALAXY_ROOT/tools`
 - copy `tools/bessd` to a local tools folder. E.g. to a default location of Galaxy tools `$GALAXY_ROOT/tools`
 - copy `tool-data` content to `$GALAXY_ROOT/tool-data` (or to an alternative location of tool-data configured in galaxy.yml)

### Updating tool_conf.xml and tool_data_table.conf

tool_data/instruments.loc

deleted100644 → 0
+0 −33
Original line number Diff line number Diff line
SNS	Wide Angular-Range Chopper Spectrometer	ARCS	ARCS
SNS	Backscattering Spectrometer	BSS	BASIS
SNS	Cold Neutron Chopper Spectrometer	CNCS	CNCS
SNS	Elastic Diffuse Scattering Spectrometer	CORELLI	CORELLI
SNS	Extended Q-Range Small-Angle Neutron Scattering Difffractometer	EQSANS	EQ-SANS
SNS	Hybrid Spectrometer	HYS	HYSPEC
SNS	Macromolecular Neutron Diffractometer	MANDI	MANDI
SNS	Nanoscale-Ordered Materials Diffractometer	NOM	NOMAD
SNS	nED on Wheels 2	NOW2	NOW2
SNS	nED on Wheels 4	NOW4	NOW4
SNS	None	NOWB	None
SNS	Powder Diffractometer	PG3	POWGEN
SNS	Liquids Reflectometer	REF_L	LIQREF
SNS	Magnetism Reflectometer	REF_M	MAGREF
SNS	Fine-Resolution Fermi Chopper Spectrometer	SEQ	SEQUOIA
SNS	Spallation Neutrons and Pressure Diffractometer	SNAP	SNAP
SNS	Single-Crystal Diffractometer	TOPAZ	TOPAZ
SNS	Ultra-Small-Angle Neutron Scattering Instrument	USANS	USANS
SNS	Versatile Neutron Imaging Instrument	VENUS	VENUS
SNS	Vibrational Spectrometer	VIS	VISION
SNS	Engineering Materials Diffractometer	VULCAN	VULCAN
HFIR	Instrument Development Beam Line	CG1B	DEV BEAM
HFIR	Neutron Imaging Facility	CG1D	IMAGING
HFIR	General-Purpose Small-Angle Neutron Scattering Diffractometer	CG2	GP-SANS
HFIR	Biological Small-Angle Neutron Scattering Instrument	CG3	BIO-SANS
HFIR	Cold Neutron Triple-Axis Spectrometer	CG4C	CTAX
HFIR	Polarized Triple-Axis Spectrometer	HB1	PTAX
HFIR	Fixed-Incident-Energy Triple-Axis Spectrometer	HB1A	FIE-TAX
HFIR	Neutron Powder Diffractometer	HB2A	POWDER
HFIR	High Intensity Diffractometer for Residual stress Analysis	HB2B	HIDRA
HFIR	Wide-Angle Neutron Diffractometer	HB2C	WAND2
HFIR	Triple-Axis Spectrometer	HB3	TAX
HFIR	Dimensional Extreme Magnetic Neutron Diffractometer	HB3A	DEMAND

tool_data/list_instruments.py

deleted100644 → 0
+0 −12
Original line number Diff line number Diff line
import pyoncat
import argparse

ONCAT_URL = "https://oncat.ornl.gov"

oncat = pyoncat.ONCat(ONCAT_URL)
instruments = oncat.Instrument.list(facility="SNS")
for i in instruments:
	print("%s,%s,%s,%s" % (i.get("facility"), i.get("full_name"), i.get("name"), i.get("short_name")))
instruments = oncat.Instrument.list(facility="HFIR")
for i in instruments:
	print("%s,%s,%s,%s" % (i.get("facility"), i.get("full_name"), i.get("name"), i.get("short_name")))
+0 −3
Original line number Diff line number Diff line
SNS	Wide Angular-Range Chopper Spectrometer	ARCS	ARCS
SNS	Fine-Resolution Fermi Chopper Spectrometer	SEQ	SEQUOIA
HFIR	General-Purpose Small-Angle Neutron Scattering Diffractometer	CG2	GP-SANS
Loading