Closed charludo closed 9 months ago
A doubt: I am on the branch automatic-assignment So I installed patient-to-room_assignment in the same directory as ycms. I installed gurobi in the same virtual environment as rest of the project (its called denv). I run ycms and click on suggest assignment but nothing seems to pop up, What am i missing?
A doubt: I am on the branch automatic-assignment So I installed patient-to-room_assignment in the same directory as ycms. I installed gurobi in the same virtual environment as rest of the project (its called denv). I run ycms and click on suggest assignment but nothing seems to pop up, What am i missing?
Please follow the instructions as given:
ycms
livespatient-to-room_assignment
, do
python -m venv .venv
. .venv/bin/activate
pip install gurobipy
"next to" means that the two are "siblings". For example,
/home/sneha/ycms/
/home/sneha/patient-to-room_assignment
but not
/home/sneha/ycms/
/home/sneha/ycms/patient-to-room_assignment
(its called denv)
I am really not sure how that works, the install.sh
script handles virtual environments in our project, and it will always be located in .venv
.
In any case, you need a separate one, as the instructions say.
"next to" means that the two are "siblings". For example,
/home/sneha/ycms/ /home/sneha/patient-to-room_assignment
but not
/home/sneha/ycms/ /home/sneha/ycms/patient-to-room_assignment
Yup they are siblings.
(its called denv)
I am really not sure how that works, the
install.sh
script handles virtual environments in our project, and it will always be located in.venv
.In any case, you need a separate one, as the instructions say.
I had created a virtual env denv in the begining where I installed everything in ycms. I followed the instructions also and added venv inside patient-to-room directory. and then I went back to ycms and ran it. clicking on suggest assignment didn't do anything for me. Am I supposed to directly click on that or I check in timetravel for assignments and then it will show
"next to" means that the two are "siblings". For example,
/home/sneha/ycms/ /home/sneha/patient-to-room_assignment
but not
/home/sneha/ycms/ /home/sneha/ycms/patient-to-room_assignment
Yup they are siblings.
(its called denv)
I am really not sure how that works, the
install.sh
script handles virtual environments in our project, and it will always be located in.venv
. In any case, you need a separate one, as the instructions say.I had created a virtual env denv in the begining where I installed everything in ycms. I followed the instructions also and added venv inside patient-to-room directory. and then I went back to ycms and ran it. clicking on suggest assignment didn't do anything for me. Am I supposed to directly click on that or I check in timetravel for assignments and then it will show
Alright, what's the console output when you click the button? And no, should not matter which one.
Actually, could you please also provide the output of pwd
and ls -al
from inside the solver directory?
A more direct way for trouble shooting could also be using ./tools/ycms-cli call_solver_api 1
, since this is what the ward/timeline views call
Actually, could you please also provide the output of
pwd
andls -al
from inside the solver directory?A more direct way for trouble shooting could also be using
./tools/ycms-cli call_solver_api 1
, since this is what the ward/timeline views call
So when I click on the button I get the following output:
Console shows this :
So the main directory is hosproj under in which both ycms and pra reside.
Actually, could you please also provide the output of
pwd
andls -al
from inside the solver directory? A more direct way for trouble shooting could also be using./tools/ycms-cli call_solver_api 1
, since this is what the ward/timeline views callSo when I click on the button I get the following output:
Console shows this :
So the main directory is hosproj under in which both ycms and pra reside.
From the console error output: looks like you need a (free) license. Interesting. I got one but thought it's activation failed, but apparently not!
Have a look online, the license is pretty easy to get.
Works for me👌👌. I can see suggested assignments for unassigned patients in the timeline view for past current and future. Do you want to wait till the final data before merging this?
Works for me👌👌. I can see suggested assignments for unassigned patients in the timeline view for past current and future. Do you want to wait till the final data before merging this?
Great! And no, let's merge if you've no change requests.
Short description
The "suggest assignment" button finally works! 🥳 🎉
Proposed changes
Please Note
93 should be merged BEFORE this, so if you want to review this PR, please instead review that one 😉
Installation
ycms
livespatient-to-room_assignment
, dopython -m venv .venv
. .venv/bin/activate
pip install gurobipy
Resolved issues
Fixes: #20