fixed a minor bug in phoseg/inventory.py