Skip to content

Instantly share code, notes, and snippets.

@rtviii
rtviii / masif.py
Created April 19, 2024 04:32 — forked from edraizen/masif.py
MaSIF pymol plugin, merged to avoid finding correct paths
# Pablo Gainza Cirauqui 2016 LPDI IBI STI EPFL
# This pymol plugin for Masif just enables the load ply functions.
import os, sys
import math, re
from pymol import cmd, stored
import sys
from pymol import cmd, stored
@rtviii
rtviii / unionenum.py
Last active November 10, 2023 18:39 — forked from plammens/unionenum.py
Enum union in Python
"""
Enum union based on and compatible with the standard library's `enum`.
"""
# MIT License
#
# Copyright (c) 2020 Paolo Lammens
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal