Carissa Bleker
Carissa Bleker
Any recommended forks?
Here is my solution to allowing an invitation to be used only once: In my models file (last line is relevant): ```python class UserInvitation(db.Model): __tablename__ = 'user_invite' id = db.Column(db.Integer,...
Using a [CustomUserManager](https://flask-user.readthedocs.io/en/latest/api_user_manager.html#usermanagerclass), you can over ride the default invitation view which is here: https://github.com/lingthio/Flask-User/blob/5c652e6479036c3d33aa1626524e4e65bd3b961e/flask_user/user_manager__views.py#L317-L320 and add the roles_required decorator ```python class CustomUserManager(UserManager): @login_required @roles_required('specialrole') def invite_user_view(self): """ Allows users...
Hi, In case the following is helpful for anyone. Here's a function I use to add png's per node.: https://github.com/NIB-SI/skm-tools/blob/d29f104e03f88fb38737e924e3a430c68e848963/skm_tools/cytoscape_utils.py#L366C1-L396C1 ```python import pandas as pd import py4cytoscape as p4c def...
I haven't tried it, but that should be possible, since Cytoscape does support SVG images as annotations.
Hi Barry, Thanks for the fast fix and detailed discussion! In my case, I did not change the nodeSizeLocked setting, and in the GUI the "Lock node width and height"...