Commit f65e0c32 authored by Mitar's avatar Mitar

Better structure.

parent e1296b38
...@@ -63,11 +63,6 @@ primitives_repo/ ...@@ -63,11 +63,6 @@ primitives_repo/
"score_inputs": ["185_baseball_dataset_SCORE"] "score_inputs": ["185_baseball_dataset_SCORE"]
} }
``` ```
* You can validate your `.meta` file by running:
```bash
$ python3 -m d3m.runtime -d /path/to/all/datasets fit-produce -m your-pipeline.meta -p your-pipeline.yml
```
## Adding a primitive ## Adding a primitive
...@@ -117,26 +112,25 @@ CI validation script has some requirements: ...@@ -117,26 +112,25 @@ CI validation script has some requirements:
Run it by providing the path to the primitive annotation file you want to validate. Example: Run it by providing the path to the primitive annotation file you want to validate. Example:
``` ```bash
$ ./run_validation.py 'v2017.12.27/Test team/d3m.primitives.test.IncrementPrimitive/0.1.0/primitive.json' $ ./run_validation.py 'v2017.12.27/Test team/d3m.primitives.test.IncrementPrimitive/0.1.0/primitive.json'
``` ```
If your primitive annotation uses install dependencies from https://gitlab.datadrivendiscovery.org,
you should pass username and password you want to use to access them:
```
$ ./run_validation.py --username <username> --password <password> 'v2017.12.27/Test team/d3m.primitives.test.IncrementPrimitive/0.1.0/primitive.json'
```
To validate pipeline description do: To validate pipeline description do:
``` ```bash
python3 -m d3m.metadata.pipeline -c <path_to_JSON> $ python3 -m d3m.metadata.pipeline -c <path_to_JSON>
``` ```
It will print out the pipeline JSON if it succeeds, or an error otherwise. You should probably run it inside It will print out the pipeline JSON if it succeeds, or an error otherwise. You should probably run it inside
a Docker image with all primitives your pipeline references, or have them installed on your system. a Docker image with all primitives your pipeline references, or have them installed on your system.
You can validate your `.meta` file by running:
```bash
$ python3 -m d3m.runtime -d /path/to/all/datasets fit-produce -m your-pipeline.meta -p your-pipeline.yml
```
## Requesting a primitive ## Requesting a primitive
If you would like to request a primitive, [use private repository](https://gitlab.datadrivendiscovery.org/jpl/primitives_repo#requesting-a-primitive). If you would like to request a primitive, [use private repository](https://gitlab.datadrivendiscovery.org/jpl/primitives_repo#requesting-a-primitive).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment