Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
090e4e0
Add production plugin
MartinHjelmare Nov 9, 2019
2ea476d
Add pylintrc
MartinHjelmare Nov 10, 2019
1cecc00
Add more event handlers
MartinHjelmare Nov 10, 2019
2d8caed
Import event matcher
MartinHjelmare Nov 10, 2019
9994fac
Use sample helper
MartinHjelmare Nov 10, 2019
dee5216
Clean up
MartinHjelmare Nov 10, 2019
724b0b3
Fix stale docstring
MartinHjelmare Nov 10, 2019
ee502c3
Add stop trigger
MartinHjelmare Nov 12, 2019
e8acede
Add image next well
MartinHjelmare Nov 12, 2019
d834259
Add todo comments
MartinHjelmare Nov 12, 2019
0f05cea
Finish add next well
MartinHjelmare Nov 12, 2019
65ae148
Extract delay time to constant
MartinHjelmare Nov 12, 2019
8062bf9
Add calc gain
MartinHjelmare Nov 12, 2019
9ed3a18
Add fixme comment
MartinHjelmare Nov 12, 2019
43b51d8
Add set_exp_gain
MartinHjelmare Nov 12, 2019
f07f801
Add exp job
MartinHjelmare Nov 13, 2019
11a8926
Add set img ok
MartinHjelmare Nov 13, 2019
8598262
Add rename image
MartinHjelmare Nov 13, 2019
23c20ec
Add flake8 ignore
MartinHjelmare Nov 14, 2019
3002399
Fix next well xy
MartinHjelmare Nov 15, 2019
fa6f347
Image next well based on sample
MartinHjelmare Nov 15, 2019
4e1b61b
Make job names configurable
MartinHjelmare Nov 15, 2019
9090d02
Register and unregister img ok and rename img
MartinHjelmare Nov 15, 2019
66a2c51
Fix action calls after renaming action types
MartinHjelmare Nov 15, 2019
223f1dd
Fix plot save path
MartinHjelmare Nov 15, 2019
6397483
Make stop work on state file
MartinHjelmare Nov 15, 2019
93e1a92
Add fixme comment
MartinHjelmare Nov 15, 2019
d78115e
Fix set img ok
MartinHjelmare Nov 16, 2019
d21b13f
Remove start and stop delay
MartinHjelmare Nov 16, 2019
cbd3d33
Extend config schema
MartinHjelmare Nov 16, 2019
b50643d
Update readme
MartinHjelmare Nov 17, 2019
64f3283
Add channels config
MartinHjelmare Nov 17, 2019
542895c
Add todo comment
MartinHjelmare Nov 17, 2019
ee927b3
Add well layout option
MartinHjelmare Nov 17, 2019
57b8ea5
Clean up
MartinHjelmare Nov 17, 2019
460744a
Guard against duplicate image events
MartinHjelmare Nov 29, 2019
44db2d3
Add debug script
MartinHjelmare Nov 29, 2019
4d213d6
Fix stop experiment
MartinHjelmare Nov 29, 2019
d5d3f52
Add production config template
MartinHjelmare Nov 29, 2019
51f1bb5
Set gain fields from well layout
MartinHjelmare Nov 30, 2019
8e28e82
Set last gain coordinate from well layout
MartinHjelmare Nov 30, 2019
d4070e8
Make job ids configurable
MartinHjelmare Nov 30, 2019
dc9803c
Make rename image more robust
MartinHjelmare Nov 30, 2019
5533530
Update pylintrc
MartinHjelmare Nov 30, 2019
30d2c35
Make plate name constant
MartinHjelmare Nov 30, 2019
75c04e4
Fix rename name
MartinHjelmare Nov 30, 2019
869c2e9
Clean up
MartinHjelmare Nov 30, 2019
b72d12a
Refactor to use flow instance
MartinHjelmare Nov 30, 2019
4450b52
Use config for last job id
MartinHjelmare Dec 1, 2019
780b519
Add first production test
MartinHjelmare Dec 1, 2019
0009f5e
Extend test
MartinHjelmare Dec 1, 2019
ec6b4e7
Test duplicate image events
MartinHjelmare Dec 1, 2019
0207cae
Use next and generator expression
MartinHjelmare Dec 1, 2019
907d4d0
Clean up test
MartinHjelmare Dec 1, 2019
5d7546c
Add load sample test
MartinHjelmare Dec 2, 2019
2ec2dd8
Clean up test
MartinHjelmare Dec 2, 2019
587190d
Fix well check
MartinHjelmare Dec 2, 2019
e56075b
Add missing stop command on next sample well
MartinHjelmare Dec 6, 2019
47187b7
Do not stop imaging on first well
MartinHjelmare Dec 6, 2019
2dc5fdf
Add log message on experiment stop
MartinHjelmare Dec 6, 2019
5b38486
Remove not needed lock
MartinHjelmare Dec 6, 2019
5df05a3
Fix rename of last field before next well
MartinHjelmare Dec 6, 2019
666f510
Fix production config template indent
MartinHjelmare Dec 6, 2019
52988fc
Fix stop on wells left
MartinHjelmare Dec 7, 2019
5a15029
Refactor to simplify into one case
MartinHjelmare Dec 7, 2019
c62d7ff
Clean up strings
MartinHjelmare Dec 7, 2019
39cf3f5
Clean up
MartinHjelmare Dec 7, 2019
6a2c3be
Load csv file during validation
MartinHjelmare Dec 7, 2019
e489c38
Fix set remove
MartinHjelmare Dec 7, 2019
561ad98
Clean up
MartinHjelmare Dec 7, 2019
3162c86
Add sample state file validation
MartinHjelmare Dec 7, 2019
ed96325
Fix test
MartinHjelmare Dec 7, 2019
2a46109
Update readmes
MartinHjelmare Dec 7, 2019
42ad2dd
Fix readme relative link
MartinHjelmare Dec 7, 2019
7212ed0
Add Python 3.8 tox env
MartinHjelmare Dec 7, 2019
3af927b
Skip missing tox interpreters
MartinHjelmare Dec 8, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 32 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,44 @@
# camacq-plugins

Plugins for camacq
Plugins for camacq:

## Usage
- [production](camacqplugins/production/)

## Installation

- Clone and install the package.

```sh
# Clone the repo.
git clone https://github.com/CellProfiling/camacq-plugins.git
# Enter directory.
cd camacq-plugins
# Install package.
pip install .
# Test that program is callable and show help.
camacq -h
```

### Requirements

## Compatibility
- Python version 3.6+.
- camacq >= 0.4.0

## Usage

Add configuration for the plugin you want to run.
See the [config_templates](config_templates/) directory for example configuration.

Then start `camacq`.

```sh
camacq
```

## Licence

- Apache-2.0.

## Authors

- Martin Hjelmare
55 changes: 55 additions & 0 deletions camacqplugins/production/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Production

## Usage

Add configuration for the `production`, `gain`, `leica` and `rename` plugin, in the `camacq` configuration file.
See the [config_templates](../config_templates/) directory for example configuration.

```yaml
production:
...

gain:
...

rename_image:

leica:
...
```

Then start `camacq`.

```sh
camacq
```

To allow the user to set up the sample state before starting an
experiment, camacq can load the sample state from a file. In the production
configuration section there is an option to specify a path to a csv
file.

```yaml
production:
sample_state_file: '/sample_state.csv'
```

Each row in the csv file should represent at least one state of a sample container,
ie well, field or channel. A plate name must also be included. The csv file should have a
header. See below.

```csv
plate_name,well_x,well_y,channel_name,gain
00,1,1,blue,600
```

This example will set a plate '00', a well (1, 1), a blue channel
and set the gain of the blue channel to 600.

```csv
plate_name,well_x,well_y,field_x,field_y
00,1,1,1,1
```

This example will create a plate '00' a well (1, 1) and a field (1, 1)
in the sample state.
Loading