Skip to content

Commit

Permalink
Merge pull request #48 from sybila/dev-static-properties
Browse files Browse the repository at this point in the history
Generic static properties + asynchronous inference algorithm
  • Loading branch information
ondrej33 authored Sep 1, 2024
2 parents 9e5fe7a + d950a41 commit 858d498
Show file tree
Hide file tree
Showing 62 changed files with 5,620 additions and 539 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ Cargo.lock
*.sln
*.sw?

# test data
test_data
# local test data
local/
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,11 @@ AEON Sketchbook is a multi-platform application for designing and analysing larg

## Development

Make sure you have Rust and NPM installed. Then, after cloning, run `npm install` to download all JS/TS dependencies. To start the application in debug mode, run `npm run tauri dev`. To build a release version of the app, run `npm run build`. Note that the first build can take a few minutes as the application backend needs to be compiled. Subsequent builds should be faster. Furthermore, upon startup, the application window can be unresponsive for a few seconds when running using `npm run tauri dev`. This is because the whole application is running in debug mode without optimizations. This startup delay should be substantially reduced when using the release binaries produced by `npm run build`.
Make sure you have Rust and NPM installed. Then, after cloning, run `npm install` to download all JS/TS dependencies. To start the application in debug mode, run `npm run tauri dev`. To build a release version of the app, run `npm run build`. Note that the first build can take a few minutes as the application backend needs to be compiled. Subsequent builds should be faster. Furthermore, upon startup, the application window can be unresponsive for a few seconds when running using `npm run tauri dev`. This is because the whole application is running in debug mode without optimizations. This startup delay should be substantially reduced when using the release binaries produced by `npm run build`.

For format checking/fixing and for running basic tests, you can use the following commands.
Run the cargo commands inside `src-tauri` folder, and eslint in the main directory.
- `npx eslint src --config .eslintrc.yml --ext .js,.jsx,.ts,.tsx --fix`
- `cargo fmt`
- `cargo clippy`
- `cargo test`
66 changes: 66 additions & 0 deletions data/real_models/annotated_tlgl.aeon
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
## PROPERTIES
#! dynamic_property: a_diseased_attr: #`(3{x}: (@{x}: (~Apoptosis_ & S1P & sFas & ~Fas & ~Ceramide_ & ~Caspase & MCL1 & ~BID_ & ~DISC_ & FLIP_ & ~IFNG_ & GPCR_ & (AG EF (~Apoptosis_ & S1P & sFas & ~Fas & ~Ceramide_ & ~Caspase & MCL1 & ~BID_ & ~DISC_ & FLIP_ & ~IFNG_ & GPCR_ & {x})))))`#
#! dynamic_property: b_healthy_fixed_point: #`(3{x}: (@{x}: (Apoptosis_ & ~S1P & ~sFas & ~Fas & ~Ceramide_ & ~Caspase & ~MCL1 & ~BID_ & ~DISC_ & ~FLIP_ & ~CTLA4_ & ~TCR & ~IFNG_ & ~CREB & ~P2 & ~SMAD_ & ~GPCR_ & ~IAP_ & (AX (Apoptosis_ & ~S1P & ~sFas & ~Fas & ~Ceramide_ & ~Caspase & ~MCL1 & ~BID_ & ~DISC_ & ~FLIP_ & ~CTLA4_ & ~TCR & ~IFNG_ & ~CREB & ~P2 & ~SMAD_ & ~GPCR_ & ~IAP_)))))`#

## MODEL
$S1P:!Apoptosis_ & q(Ceramide_)
Ceramide_ -| S1P
Apoptosis_ -| S1P
$sFas:!Apoptosis_ & p(S1P)
S1P -> sFas
Apoptosis_ -| sFas
$Apoptosis_:function(Caspase, Apoptosis_)
Caspase -> Apoptosis_
Apoptosis_ -> Apoptosis_
$Fas:!Apoptosis_ & o(sFas)
Apoptosis_ -| Fas
sFas -| Fas
$Ceramide_:!Apoptosis_ & n(Fas, S1P)
Fas -> Ceramide_
S1P -| Ceramide_
Apoptosis_ -| Ceramide_
$Caspase:!Apoptosis_ & m(BID_, DISC_, IAP_)
DISC_ -> Caspase
IAP_ -| Caspase
BID_ -> Caspase
Apoptosis_ -| Caspase
$MCL1:!Apoptosis_ & l(DISC_)
DISC_ -| MCL1
Apoptosis_ -| MCL1
$BID_:!Apoptosis_ & k(MCL1)
MCL1 -| BID_
Apoptosis_ -| BID_
$DISC_:!Apoptosis_ & j(Fas,Ceramide_,FLIP_)
Fas -> DISC_
Ceramide_ -> DISC_
Apoptosis_ -| DISC_
FLIP_ -| DISC_
$FLIP_:!Apoptosis_ & i(DISC_)
DISC_ -| FLIP_
Apoptosis_ -| FLIP_
$CTLA4_:!Apoptosis_ & h(TCR)
TCR -> CTLA4_
Apoptosis_ -| CTLA4_
$TCR:!Apoptosis_ & g(CTLA4_)
CTLA4_ -| TCR
Apoptosis_ -| TCR
$IFNG_:!Apoptosis_ & f(P2, SMAD_)
P2 -| IFNG_
SMAD_ -| IFNG_
Apoptosis_ -| IFNG_
$CREB:!Apoptosis_ & e(IFNG_)
IFNG_ -> CREB
Apoptosis_ -| CREB
$P2:!Apoptosis_ & d(P2, IFNG_)
P2 -> P2
IFNG_ -> P2
Apoptosis_ -| P2
$SMAD_:!Apoptosis_ & c(GPCR_)
GPCR_ -> SMAD_
Apoptosis_ -| SMAD_
$GPCR_:!Apoptosis_ & b(S1P)
S1P -> GPCR_
Apoptosis_ -| GPCR_
$IAP_:!Apoptosis_ & a(BID_)
BID_ -| IAP_
Apoptosis_ -| IAP_
Loading

0 comments on commit 858d498

Please sign in to comment.